﻿<UserControl x:Class="SinaFinance.OfflinePage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" >
    <Border BorderBrush="#FF333333" BorderThickness="1,1,1,1">
        <Grid x:Name="LayoutRoot" >
            <Grid.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FF000000"/>
                    <GradientStop Color="#FF1E2C40" Offset="1"/>
                </LinearGradientBrush>
            </Grid.Background>
            <Grid.RowDefinitions>
                <RowDefinition Height="58"/>
                <RowDefinition Height="100"/>
                <RowDefinition Height="100*"/>
                <RowDefinition Height="24"/>
            </Grid.RowDefinitions>
            <Grid x:Name="top" Margin="0,9,0,0" d:LayoutOverrides="Width" Canvas.ZIndex="2">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="100*"/>
                    <ColumnDefinition Width="182"/>
                    <ColumnDefinition Width="450"/>
                    <ColumnDefinition Width="100*"/>
                </Grid.ColumnDefinitions>
                <Border Grid.ColumnSpan="5" BorderBrush="#FF333333" BorderThickness="0,1,0,1">
                    <Border.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FF545454"/>
                            <GradientStop Color="#FF131414" Offset="1"/>
                        </LinearGradientBrush>
                    </Border.Background>
                </Border>
                <Rectangle x:Name="rect" Stroke="#FF000000" StrokeThickness="0" RadiusX="4" RadiusY="4" Margin="8,8,8,8" Grid.Column="2">
                    <Rectangle.Fill>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FF000000"/>
                            <GradientStop Color="#FF232324" Offset="1"/>
                        </LinearGradientBrush>
                    </Rectangle.Fill>
                </Rectangle>
                <Canvas x:Name="topInfoCanvas" Margin="15,15,8,14" Grid.Column="2" Height="20" d:LayoutOverrides="GridBox" Grid.ColumnSpan="1"/>
                <Image Margin="34,-7,25,-1" Source="Images/sinalogo_01.png" Stretch="Fill" Grid.Column="1"/>

            </Grid>
            <Grid x:Name="top2" Grid.Row="1" Margin="0,1,0,0"  Canvas.ZIndex="2">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="100*"/>
                    <ColumnDefinition Width="700"/>
                    <ColumnDefinition Width="100*"/>
                </Grid.ColumnDefinitions>
                <Border Grid.ColumnSpan="3"  BorderBrush="#FF333333" BorderThickness="0,1,0,1">
                    <Border.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FF545454"/>
                            <GradientStop Color="#FF131414" Offset="1"/>
                        </LinearGradientBrush>
                    </Border.Background>
                    
                </Border>
               <Canvas x:Name="BasicInfoCanvas" Margin="0,12,0,0" Grid.Column="1" />

            </Grid>

            <Grid Grid.Row="2" >
                <Grid.RowDefinitions>
                    <RowDefinition Height="100*"/>
                    <RowDefinition Height="141"/>
                    <RowDefinition Height="100*"/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="100*"/>
                    <ColumnDefinition Width="332"/>
                    <ColumnDefinition Width="100*"/>
                </Grid.ColumnDefinitions>  
                
                <Rectangle Stroke="#FF000000" StrokeThickness="1" RadiusX="4" RadiusY="4" Margin="0,0,0,0" Grid.Column="1" d:LayoutOverrides="GridBox" Grid.Row="1">
                    <Rectangle.Fill>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FF000000"/>
                            <GradientStop Color="#FF232324" Offset="1"/>
                        </LinearGradientBrush>
                    </Rectangle.Fill>
                </Rectangle>
                <Image Height="49" HorizontalAlignment="Left" Margin="72,46,0,46" Width="51" Grid.Column="1" Source="Images/Offline.png" Stretch="Fill" Grid.Row="1"/>
                <TextBlock Margin="140,54,9,54" Grid.Column="1" Text="网络连接已断开" TextWrapping="Wrap" Grid.Row="1" FontSize="18">
					<TextBlock.Foreground>
						<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
							<GradientStop Color="#FFC61819"/>
							<GradientStop Color="#FFC61819" Offset="1"/>
							<GradientStop Color="#FFF64648" Offset="0.548"/>
							<GradientStop Color="#FFDD0404" Offset="0.548"/>
						</LinearGradientBrush>
					</TextBlock.Foreground>
                </TextBlock>
            </Grid>
            <Grid Grid.Row="3" Margin="0,0,0,-1" x:Name="BottomGrid">
                <Grid.Background>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FF000000"/>
                        <GradientStop Color="#FF262626" Offset="1"/>
                    </LinearGradientBrush>
                </Grid.Background>
                <TextBlock HorizontalAlignment="Center" Margin="0,4,0,4" Foreground="#FFB7B7B7" Text="Copyright © 1996-2009 SINA Corporation, All Rights Reserved" TextWrapping="Wrap"/>
            </Grid>

        </Grid>
    </Border>
</UserControl>